// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import './css/style.css';
import 'whatwg-fetch';
// import Mint from 'mint-ui';
// import 'mint-ui/lib/style.min.css';
// Vue.use(Mint);
import {
  Tabbar,
  TabItem,
  Cell,
  Swipe,
  SwipeItem,
  Popup,
} from 'mint-ui';

Vue.component(Tabbar.name, Tabbar);
Vue.component(TabItem.name, TabItem);
Vue.component(Cell.name, Cell);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
Vue.component(Popup.name, Popup);

// import VueMaterial from 'vue-material'
// import 'vue-material/dist/vue-material.css'
// Vue.use(VueMaterial);
import { router } from "./routes";

import App from './App'


/* eslint-disable no-new */
new Vue({
  el: '#app',
  template: '<App/>',
  components: { App },
  router,
})
